export function handleList(
  arr: any[],
  value: string = "",
  label: string = ""
): any[] {
  return arr.map((item: any) => {
    return {
      text: item[label],
      value: item[value],
    };
  });
}
